package com.zlay.javafx.examples;

import javafx.event.ActionEvent;
import javafx.event.EventHandler;

public class ExActionEventHandler implements EventHandler<ActionEvent> {

	private Action action;
	public ExActionEventHandler(Action action) {
		this.action = action;
	}
	
	@Override
	public void handle(ActionEvent event) {
		if(Action.homePage.toString().equals(action.toString())) {
			
		}
	}

}

enum Action {
	homePage	
}
